/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package repstream;

import repstream.View.Frame;
import repstream.controler.Controler;
import repstream.model.Model;
import javax.swing.JFrame;
import repstream.model.MediaPlayer;

/**
 *
 * @author bu2spencer
 */
public class Start {
    static Thread t;
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        Model clientStreaming = new Model(new MediaPlayer(null, 0, 0, true));
        Controler controler = new Controler(clientStreaming);
        controler.setUrlFilm("file:///01.avi");
        Frame repStream = new Frame(controler);
        clientStreaming.addObserver(repStream);
        
             
        System.out.println(clientStreaming.getUrlFilm());
        System.out.println("Start ok");
        

    }
}
